MobilePaymentsSdk

Top-level access to Mobile Payments SDK functionality. The various manager classes provided here all implement interface types you can stub out and mock for testing applications using MobilePaymentsSdk; this class functions as a factory to provide the "real" implementations.

Functions

Link copied to clipboard

Returns the AuthorizationManager singleton for authorizing Mobile Payments SDK to collect payments.

Link copied to clipboard
fun initialize(applicationId: String, application: Application)

The entry point for Mobile Payments SDK. Manages initialization and provides access to managers for all SDK operations. You must initialize the SDK before attempting any other operation. The SDK may only be initialized once.

Link copied to clipboard

Returns 'true' if Mobile Payments SDK is in Sandbox environment, 'false' otherwise.

Link copied to clipboard

Retrieves PaymentManager, a singleton responsible for processing payments.

Link copied to clipboard

Retrieves ReaderManager, responsible for tracking and updating the available readers.

Link copied to clipboard

Retrieves SettingsManager, a singleton responsible for managing SDK settings.